/*
package cn.dglydrpy.eshop.website.learn.webflux;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

//路由
@Configuration
public class RouterConfig {

    @Autowired
    private DateTimeHandler dateTimeHandler;

    @Bean
    public RouterFunction<ServerResponse> dataRouter(){
        return RouterFunction.route(RequestPredicate.GET("/date"),dateTimeHandler::getDate)
                .andRoute(RequestPredicate.GET("/dateTime"),dateTimeHandler::getDateTime);
    }
}
*/
